home *** CD-ROM | disk | FTP | other *** search
/ 300 Great Games for Mac / 300 games for mac.iso / Trivia / President Quiz / president quiz / card_4747.txt < prev    next >
Text File  |  1990-04-02  |  2KB  |  96 lines

  1. -- card: 4747 from stack: in
  2. -- bmap block id: 3538
  3. -- flags: 0000
  4. -- background id: 4507
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global numRight, totalNumber, score
  9.   put score & "." into word 5 of card field "score"
  10.   put numRight into word 8 of card field "score"
  11.   put totalNumber into word 11 of card field "score"
  12. end openCard
  13.  
  14.  
  15. -- part 1 (field)
  16. -- low flags: 00
  17. -- high flags: 2002
  18. -- rect: left=61 top=37 right=219 bottom=463
  19. -- title width / last selected line: 0
  20. -- icon id / first selected line: 0 / 0
  21. -- text alignment: 1
  22. -- font id: 2
  23. -- text size: 24
  24. -- style flags: 0
  25. -- line height: 32
  26. -- part name: score
  27.  
  28.  
  29. -- part 2 (field)
  30. -- low flags: 00
  31. -- high flags: 2002
  32. -- rect: left=63 top=248 right=315 bottom=235
  33. -- title width / last selected line: 0
  34. -- icon id / first selected line: 0 / 0
  35. -- text alignment: 1
  36. -- font id: 2
  37. -- text size: 18
  38. -- style flags: 0
  39. -- line height: 24
  40. -- part name: 
  41.  
  42.  
  43. -- part 3 (button)
  44. -- low flags: 00
  45. -- high flags: 0000
  46. -- rect: left=63 top=248 right=315 bottom=235
  47. -- title width / last selected line: 0
  48. -- icon id / first selected line: 0 / 0
  49. -- text alignment: 1
  50. -- font id: 0
  51. -- text size: 12
  52. -- style flags: 0
  53. -- line height: 16
  54. -- part name: 
  55. ----- HyperTalk script -----
  56. on mouseUp
  57.   global scorePhrase, score, numRight, totalNumber
  58.   get number of cards of background id 2697
  59.   put it into totalNumber
  60.   put 0 into numRight
  61.   put 0 into score
  62.   put "Your score is 0." into scorePhrase
  63.   go to first card
  64. end mouseUp
  65.  
  66.  
  67.  
  68. -- part 4 (button)
  69. -- low flags: 00
  70. -- high flags: 0000
  71. -- rect: left=462 top=290 right=323 bottom=499
  72. -- title width / last selected line: 0
  73. -- icon id / first selected line: 19727 / 19727
  74. -- text alignment: 1
  75. -- font id: 0
  76. -- text size: 12
  77. -- style flags: 0
  78. -- line height: 16
  79. -- part name: 
  80. ----- HyperTalk script -----
  81. on mouseUp
  82.   doMenu "Quit HyperCard"
  83. end mouseUp
  84.  
  85.  
  86.  
  87. -- part contents for card part 1
  88. ----- text -----
  89.  
  90. Your final score was 0.
  91. You got 0 out of 16 right.
  92.  
  93.  
  94. -- part contents for card part 2
  95. ----- text -----
  96. Start over and do it again!